package cn.yili12.business.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@ApiModel
@Data
public class RegisterDTO {
    @ApiModelProperty("姓名")
    @NotEmpty(message = "姓名不能为空")
    private String name;
    @ApiModelProperty("电话")
    @NotEmpty(message = "电话不能为空")
    private String phone;
    @ApiModelProperty("密码")
    @NotEmpty(message = "密码不能为空")
    private String password;
    @ApiModelProperty("组织编码")
    @NotEmpty(message = "组织编码不能为空")
    private String orgId;
    @ApiModelProperty("性别")
    @NotEmpty(message = "性别不能为空")
    private String sex;
    @ApiModelProperty("个性签名")
    private String remark;
}
